package com.example.fengyungo.domain.pojo;

import java.io.Serializable;

/**
 * 司机消息列表
 */
public class UserMessageList implements Serializable {
    /**
     * id
     */
    private String listId;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 司机id
     */
    private String driverId;
    /**
     * 司机昵称
     */
    private String driverNickname;
    /**
     * 司机头像
     */
    private String driverAvatar;
    /**
     * 司机在线状态（0不在线，1在线）
     */
    private Integer driverOnline;
    /**
     * 用户未读消息数
     */
    private Integer userUnread;
    /**
     * 最后一条消息内容
     */
    private String lastContent;
    /**
     * 最后一条消息时间
     */
    private String lastTime;
    /**
     * 用户端列表状态（是否删除）（0存在，1删除）
     */
    private Integer userListStatus;

    public String getListId() {
        return listId;
    }

    public void setListId(String listId) {
        this.listId = listId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDriverId() {
        return driverId;
    }

    public void setDriverId(String driverId) {
        this.driverId = driverId;
    }

    public String getDriverNickname() {
        return driverNickname;
    }

    public void setDriverNickname(String driverNickname) {
        this.driverNickname = driverNickname;
    }

    public String getDriverAvatar() {
        return driverAvatar;
    }

    public void setDriverAvatar(String driverAvatar) {
        this.driverAvatar = driverAvatar;
    }

    public Integer getDriverOnline() {
        return driverOnline;
    }

    public void setDriverOnline(Integer driverOnline) {
        this.driverOnline = driverOnline;
    }

    public Integer getUserUnread() {
        return userUnread;
    }

    public void setUserUnread(Integer userUnread) {
        this.userUnread = userUnread;
    }

    public String getLastContent() {
        return lastContent;
    }

    public void setLastContent(String lastContent) {
        this.lastContent = lastContent;
    }

    public String getLastTime() {
        return lastTime;
    }

    public void setLastTime(String lastTime) {
        this.lastTime = lastTime;
    }

    public Integer getUserListStatus() {
        return userListStatus;
    }

    public void setUserListStatus(Integer userListStatus) {
        this.userListStatus = userListStatus;
    }

    @Override
    public String toString() {
        return "UserMessageList{" +
                "listId='" + listId + '\'' +
                ", userId='" + userId + '\'' +
                ", driverId='" + driverId + '\'' +
                ", driverNickname='" + driverNickname + '\'' +
                ", driverAvatar='" + driverAvatar + '\'' +
                ", driverOnline=" + driverOnline +
                ", userUnread=" + userUnread +
                ", lastContent='" + lastContent + '\'' +
                ", lastTime='" + lastTime + '\'' +
                ", userListStatus=" + userListStatus +
                '}';
    }
}
